package com.homedo.odin.solution.model.request.pc;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "PC_设备清单添加")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class PcEquipmentRequestBean extends BaseBean {

    @ApiModelProperty(value = "用户标识", required = true)
    @NotNull(message = "用户标识不允许为空")
    private Integer userId;

    @ApiModelProperty(value = "用户名", required = true)
    @NotNull(message = "用户名不允许为空")
    private String userName;

    @ApiModelProperty(value = "项目名称", required = true)
    @NotNull(message = "项目名称不允许为空")
    private String name;

    @ApiModelProperty(value = "拟采购单位", required = true)
    @NotNull(message = "拟采购单位不允许为空")
    private String unitName;

    @ApiModelProperty(value = "项目阶段标识 1：规划设计，2：投标设计，3：深化设计，4：其他',")
    private Integer projectPhase;

    @ApiModelProperty(value = "预计落地时间")
    private String expectTime;

    @ApiModelProperty(value = "清单 URL", required = true)
    @NotNull(message = "清单 URL不允许为空")
    private String listUrl;

    @ApiModelProperty(value = "清单名", required = true)
    @NotNull(message = "清单名不允许为空")
    private String listName;
}